removing unessessary media data