fix python 3 debug