Fixed route rendering when encoding