fix xiaomi bug