fixing bug with user.profile
fixing bug with user.profile