clean up layouts file