minor bug fix for user profile