fix magic numbers in toxic