remove unnecessary image.