Fixed note checkRep()