FIX error when affiliate client return array