fix uninitialized header variable