fix route change listener