clear db & conf