fix two small bugs when editing and deleting payments