layout changed
finish layout and routes