small tidy up of resources