adapt moved template resource