sendResponseChunk fix