Fix for speed estimation.