fix print stmt for python 3