make checks work with more than one header line