fix: removing scheduler side effects from the "rate" macro