fixed bug retrieving outgoing routes