correcting classes