fix lc and pc format error because of the tab char replacement