layout file cleanup