fix a lot of pep8 warning/erros