Fixed some bugs in autocrab check.