fixed save button issue