a few profiler fixes, still not working