Fixed command line parsing bug