Fixed migrate bugs with force config.