fix ultrasonic bug