fixed bug in getNamedRoute