fix pep8; fix form class init