fixup the action handing for cpu-stop and heap-snapshot, seems to work now