make a small change to insert.py