solved an issue with deleting a list