fix #44 - library search holds it's state