fix the profile issue