Profiler: fixed metadata retrieval