format code, replace tab with 4 spaces