Fix bug in web config