fix some save button activation/deactivation