fix rate limiter crash #286
Merge pull request #287 from yinqiwen/rate-limiter-crash-fix

fix rate limiter crash #286