Fix ios plugin