trying to fix nginx errors