minor fix for importing database