add trace.trim to get rid of whitespace