fix db path bug