delete media object works