alarm set bugfix