Revert "Revert "revert check""

This reverts commit 1574f760f312c09f92fbd0dd68411a906363447e.