fix calls to each() method
ver. 1.0.4