argument parsing fix