replace tab to space for code