Fix creating profile.