fix the removing of check error