modified some bugs in extopostfix.py and postfixCal.py