error imports and useless classesremoved