aml: fixed aml_present to actually work