more work on header check