classes.id changed from VARCHAR to INT