Fixed verify header method