fixing long chunked error