fix tab in spaces bug