fixed timing issues with the ips and ultrasonic