fix nginx bug