link lookup bug fix