project header generation fixes