refactored deleting checkpoint