apply ratelimit to f4m

I found the f4m cannot set ratelimit and try to fix it