fixed StringBuilder.append debug-mode problem using toString method