remove media dependencies