fix unterminated quoted string