program_load, handle fixes