some fixes to user profile