gets resources_delete working