fix security issue in AlarmClock