Fixed bugs from user profile