whack unused layout, and give parents to each style