fixed root and web config context