fix db data