remove duplications in quickmagick