Fixed the bug that causes missed detection in Check