minor py2/3 fix