Added exit after 0 diffision error