Fixed bug in user profile