rm if_let gate