tweaks to 3rd party ios integrations; tweaks to math util api