fixes here where the route.current() hasn't been established before lookupTemplate is executed.