fixed error in loading user settings