check check.h automatically