better error reporting, sequelize fixes