fix the replace tab index with 4 spaces