removing spaces, replacing with tabs