validate divide by 0