Fix creation of new profiles.