Workaround for Redmi bug