Revert "switch check position"

This reverts commit 1de6eba57e2bae2323574d1fffa11941e2c065ef.