update teaching change to unteaching can not exit bug