fix db creating bug
makeconfig init