fixes detaching of media source