fix bug with contentLength == -1