fixed crash in user profile