Fixed division by 0