fix db file location
fix plugin