fixed an issue with spaces in commands