added default name value for text element