Fix legacy routes