fix the profile issue if the profile is not existing