fixed broken youtube function