fix the library after the rename operation