fixed str vs byte bug in profiler