Layout clearing