fix gems, add check to see if video param exists before creating