revert drop support for Python 2.6
fix some typos