sorted out deleting a set properly