Remove redundant semi-colons; Fix error when processing audio/video tags