fixed issue where parsing commands failed because of spaces.