define python version
fix a bug of script