support duplicate name attributes