fix some descriptor error