style fixes to satisfy pylint