minor arg parsing fixes