account for division by 0