Bugfix in arg parsing