fix routers bugs

add serverType