Improving the score estimator

The score estimator said I was winning by 0.5 points, so I passed and we proceeded to scoring, but the autoscore gave me a loss by 0.5 points after dead stones were correctly marked. Which is wrong and why?