modify the router creator