finish layout and routs