fix ICE priority calculation