quick fix for library scanner