errors remain with open close of DB