fix to settings save