bugfix in mode walk
fix a bug in quantum hardware
import/export door of quantum may be unlocked