rebuilding lib