reformat the code

fix #22