fix prints for python3