fix variable in MIUIGallery (thx cpasmoi)