error recovery for adm