fix read default file and insert DB bug