fix no database available after clean