fixed compile error into the layout file