fixing searchPause reference