fixed bug related to config controller.