fix for Router.ready()