add databeseclose and rename
Merge pull request #84 from FUNProject14/kuromilk/bugfix

add databeseclose and rename