Fixed a python3 issue.