fix bug: clearRate duplicate init,rename to clearMac