Correcting string lookup