Fix error in configcontroller