Fixed typo in sanityCheck