fixing db files