Bug fix on trip, frequency and stop time controller