tweaks to optionparser