finish layout structure