getting rid of some unneeded resources