fix bug on cms config