 							}
 							_mediaProxy.vo.autoSwitchFlavors = true;
 							//save main media in case we have ads
-							(facade.retrieveProxy(SequenceProxy.NAME) as SequenceProxy).saveMainMedia();
+							_sequenceProxy.saveMainMedia();
 							_shouldSetFlavors = false;
 						}
 

							_shouldSetFlavors = false;
						}
					}
					else
					{
						_isWv = false;
						_mediaProxy.vo.forceDynamicStream = false;

					break;
				
				case NotificationType.PLAYER_PLAYED:
					if (_isWv && !_sequenceProxy.vo.isInSequence)
					{
						var playerMediator:KMediaPlayerMediator = facade.retrieveMediator(KMediaPlayerMediator.NAME) as KMediaPlayerMediator;
						//workaround for wv bug, netstream reports end before actual end
