fixing weird user_id bug