fixed speed calculation issue