fixed The Bug with alarmID