each() cleanup