since the alarm.last_checked default is Null, make is unNULL again to prevent to task fail