reindent properly