Fix alarm periodicity