fix android style detection