alarm done with bug fixed