How to fix an APM in DOWN state