functionnal cancel on reference