fix some descriptor errors