fix prints for  py3