fixed another zero divide issue