Fix am.base.each's behavior