Fix bug of generate random video