fixed error with user profile