Fixed while not executing in NetworkMapPathAlignment