fix some configs