fixed recursive enabled flags for rtn