fix local db file path bug