fix checkRep and testNote()