minor tweaks to arg parsing