memory: clean checkpoint implementation