reindent and normalize coding style