fix bugs in *.pyc