Alarm runtime fix