python 3 correction