Fix bug that allows to run on MySQL