finish layout work