more places where header.type was missing