Chunk upload fix