fix to routes look up