fix encode counter
fix nginx log