clean resources