fix validation errors in user profile pages