fixed user_id bug