Fixed route bugs.