configure database
fix db configuration