fixed bug with user_profile