Fixed path issue in settings and fcgi