fixed print statement for python 3 compatibility