fix local * not being removed when switchSrc()