Delete unneeded resources