Fix possible bug on android < 11