starting to fix db