fixed user profile bugs