removing extra classes that are not required