Fix alarm controller