fix issue with deleting lists