fix crash when youtube url is used for search