Added this.getHeader and caught some places fail was not called