finish route and autoload method