remove some debug code, change dialect to mysql