catch divide by zero in instability score