fix getPgmOpts again