fix the user detail page