Fixed DB export.