fix for 'all' highlighting bug