Code change in rate limiter helper