I met the same problem. Is there any better solution for this? Instead of mannully deleting reference and recreate them.