fix space/tab mixing issue