fixed bug in SelectROI.py