Cleaned the resources