fixed bug with contentLength == -1