fix bottom switch not correct bug