Fixed makeChunk Bug