arg parsing bugfix