fix db atom