fixed minor issues detected thanks to Pylint