fix weird profiler bug, hovering it would change the values. No idea why these changes work