cleaning up some things pylint complains about