handle divide-by-zero errors when figuring oa proportion