fix print to work in python3