Fixed bug in library manager.