fix config controller