add data base clear API
delete unused import