Fixed Chunk corruption bug

Signed-off-by: Grafe <flingelfrank@hotmail.com>