fix db cache