fixed Alarm model and injection