fixed wrap_media command