fixed python version bug