Bug/switch to db destory

ok.