corrected some PEP8 issues