copy elements after loading deps