[aml] fix type in previous commit