Remove dublicated type attribute