Fix Chunk Generation