fix db install