fixes for Sequelize changes.