filter to valid products