Takes out a repeat image