fixed chunk issue
Merge pull request #1330 from pennij/working_mon0513

fixed chunk issue