fixed checkrep