fixed print for python 3