finish routes,finish layout