[aml] fixed compile