minor lastexport.py change