fix a bug when searching for youtube urls or doing a search using the youtube method