Don't replace them with the factory junk. If you're going to replace the lines, use some rubber tubing and attach it to the fittings in place of the hard lines.
I did this on my old 88 yj and never had another issue. The old lines would fall apart if you looked at them hard enough. lol