Fixed bugs in the IndexController
Fixed bug in the configuration file