fixed up the abuse algo