removed errors from classes.