Fixed Python3 issue