amend miui hook