fix some PEP8 errors (indentation mismatch, etc.)