delete refs