fix possibility for google devices.

credit to rodman01