fix chunked calc errort