fixed err in rtr