fix for duplicate mastery