db engine fix