fixed bugs in usersettings