fixed ArmState not waiting