reformat the code by autopep8