Correcting the DB dialect