alarm not stopping properly