replace effect pointers to resoure handles