qnd python 3 fix