Fixed route handling if undefined