update grade.py
Fix: interact proc bug.