parsing command line id