fix alarm bug