remove name attribute from string