setChunk fix