- fix some function mismatch in profiling