debugging save button