update .py for debug error