erase old library ref