fixed parsing args bug