partially fixed loading order issue with routers