Fixed importing database.