fix for nginx