fixed composite wrapper bug