correcting layout file