fixed a few pep warnings