Remove unnecessary checkHeader program