upgraded lib_search, new version 0.12