Fixes db export and import.