fix issue with duplicated preambles