tabs to spaces and removed trailing spaces