correct training data for filter