Fix bugs : spaces in layout declaration break the rendering