Fixed route transition issue.