closeDB change