modify io.py