fix some check bug