corrected traces and string util