Fixed the reference to the router