use the profile passed in, not the first profile from the app