fix alarm_id reference