fix bugs in execfreq rework commit