fix to file read error from autosync_db option