fixes headers