fix garbled tab characters