Fix text because of the python3 data type differences.