fix for argument parsing