fixing response headers