fixed minor problems thanks to Pylint