fixed minor typos thanks to Pylint