fixed profiles_spec to pass second test