fix sequelize error