fixed attributes named '@name' overwriting