get rid of extra images