replace whitespace with tabs for consistent formatting