popup: remove duplicates fix