Set rate correctly