removed unnecessary attribute removal