fixed issue when adding payment with edited amount