play nice with spaces when parsing error messages