Fixed issue checkRep