Removing unnecessary image