skip elements with null category