fixes unable to load config under webroot