py3 compatibility fix, print statement