added fail safe for trying to delete items that dont exist