fix some descriptor errors.