replace spaces with tab for consistency