fixed error in trafficlights, testing version of getTrafficlights