fixed issue with deleting active set