fixed config a bug regarding OpenMir