fixed type problems in store_user_settings