fix divide by zero error
Merge pull request #248 from jlambert121/divide_by_zero_elb

fix divide by zero error