fixed chunk border bug