fixed the python27 upgrade