Fixing bug in post header