fixed bug in route collector