fix bug, change to RTM temple end.