fixes media tag