reset ref