Fix alarm timing