fixed performance deterioration on first sync