hack to fix detection of empty library vs fetch incomplete