Fixed null-pointer exception in laneSimulator