profile editor: fix performance issue