Attempt to fix a alarm bug.