fixes headers

idea from @wanze