fixed issue parsing command line when installed in path