fix block production loop for delegates