added route clearing