[PATCH 1/7] fix a couple old typos found by pylint