fixed defects found by coverity scan

Should we rename this property to `descriptor_type` or `description_depth` for more consistency?