check for div by Zero Exception