ref delete