post header if/else