replace tab to 4 spaces for all codes