Fixed chunking issue in connector