fix geospeed calculation