finish filling-in-layout