added youtube limits handling