fixed saving button error