fix xiaomi's bug