cleanup layout file