fix typo
fix db close delat