removed unnecessary attributes.