fix Mi3 framework