fix resolving of webroot