fixed router mixin to work throughout all components