replacing LetNode with VarNode