A dispersion compensation procedure to extend pulse-echo defects location to irregular waveguides