fixing user id bug