fixing header ref