fixed bug with nginx config