fix pointers to moved files