deleted unneeded resources.