attempt to fix db