delete pictures which are never used