DB/Misc: a few more fixes and error fixes

correct a few error which where caused by typos,