fix leak when selecting a fav