cleanup formatting and remove mixed tabs/spaces.