not sending extra response headers at the end of response