fixed print in profiling