bug in CommandAlarm