fix the bug to store DB SQL file