fixed error if explicitly define initWithRouterParams