delete ref