divide bip2 bug fix