Fixed error detection on ares commands