corrects the element created for audio and video