clean up mastery edit fields