remove Router callbacks when URL change