Fix initialization of profiler
v0.3.3