formatbody StringBuffer to StringBuilder