fix db files