fixed serialization issue: pep8 issue