fix calculate broadcast with invert bit