move logic from listeners to refTrackerManage