fix .major issue
Fix py3