handle router external filter