Fixed a bug in +ADM.