fix opd-remove-intermediates