fixed bug with the disable save button