fix find function to lookup line keys by line names