Corrected a bug on switching governor