each() fix