Minor fix in alarm service