fix 6/8/12 terminal bug&making interrupt