Fixing command line inputs