fixes multi-device profiling