pylint and other errors