fix duplicated overlays