Fix type of the profile.