fix a router bug and change settings style