make the child layout can work.