clean indentation and semicolons