fixed bug introduced when joining command and args into a string