please correct this sentence

while I was arranging books in order, I ran across some old books which I thought had lost.

Well, "which I thought had lost" at the end of the sentence should be "which I thought I had lost."

Unless that was a typo, I don't see any other things that need to be corrected.