Fixed bugs with move to Python 3