fix editor autoresize & api ratelimit