fix(profiler): Fix API