header validation corrections