fix some issues with the fudge factor.