fixed order in parsed-command function.