Can't amend the closing amount in my POS closing entry

when i amend the POS closing amount the system calculated the difference… as soon as I click save, the closing amount changes, and difference turns to zero
ScreenRecorderProject2_1
.
any idea how i can fix this?