fix label filtering