fix bugs

	modified:   home.py
	modified:   lib/helper/SwitchHelper.py