added LDSpider getPLD with flush buffer for duplicates