[#1126] PEP8 and fix typo