extract layout space name to variable