removing all resources