delete images unnecessary