fix notiaction switch bugs