Bug fixing: typo in reference to api object in ensemble