fixed chunk error