replace \t with four spaces; remove redundant peace of code