checkpoint add and delete is working correctly