Fix rescan library