chunked threading fixes