finally a fix for the checking script--my bad