Changed close to delete