fixed pebble alarm bug