Fix mismatching toggle refs