fix android detection