optimize :header output