corrected hang during library scan