*fixed: worker thread logic