layout file parser fix