repair bug with tabs and spaces