Fixing client side chunk corruption