fix header translation fn

Fixes #273