Fix add route issue.