replace dep with component-each