fix for ngnix on os x