catch devide by zero error