fix crash in formula profiler