fix config router bug