fix inconsistent whitespace, for python3