fixed Python 2/3 rename bug