Replace eachType by eachInside