Reproduced issue and fixed problems handling chunks