Minor fix when loading programs and format changes