replacing weird whitespace characters with tabs