fixed command line input