fix http headers