fix the mastery bug for NG