fixed parsing command line