minor changes to satisfy PyLinter