fixed all classes

one minor error that confuses me