fixed errors in checker