Fixing DB engine