correct bug import external db