convert whitespace to tab, fix stats-keeping issue