replace _rtr with _env