fix pb with chunk file bug