fix for legacy android devcies