fixed generated layout attrib