remove media definition