fixed but with user profile validation