Fixed a div by zero