fix for trafficlight issue