History effect of critical current density and weak links in superconducting BiPbSrCaCuO tape wires