fix last db/file errors
dbms