Fixed trace to print to stdout