fixed but with profile_name validation