chunking fix for edge cases when ptop is restarted