fix bugs in console config