updates for making nginx run smootly