fix format usage for python 3