Fixed defend command bug.