excepted division by zero

Signed-off-by: Quintus <devqqq@gmail.com>