fixed pep8 errors in es plugin