fix anchor defect and remove string builder