When i running `python -m examples.aflow.optimize --dataset MATH`, it appear `AttributeError: 'NoneType' object has no attribute 'api_type'` 