refactoring live-reindex
fix for progressbar dependency