Revert "revert check"

This reverts commit de0fc84ba5489f8bcbc01f1ead5cdda7589a0c66.