deleted bad refs