fixed pep8 on widgets