fixed defects found by coverity scan

the original message was 
```
>>>     CID 1220547:  Uninitialized scalar field  (UNINIT_CTOR)
>>>     Non-static class member "descriptor" is not initialized in this constructor nor in any functions that it calls.
```

but looks like you are right, fixed.