re-establish reference fields for exporting programs