Effect of chemical inhomogeneity in bismuth-based copper oxide superconductors