fixed switchNotch error.